package com.krisyu.strategyPattern.sp_practice1;

/**
 * @author KrisYu
 * @date 2022/5/23
 * @description
 */
public class Client {
    public static void main(String[] args) {
        IPushStrategy commonPushStrategy = new CommonPushStrategy();
        commonPushStrategy = new FtpDeleteDecorate(commonPushStrategy);
        StrategyContext context = new StrategyContext(commonPushStrategy);
        context.execute();
    }
}
